package com.xinyue.user.service;

import java.util.List;

import com.xinyue.user.pojo.Comment;

public interface CommentService {
	 int deleteByPrimaryKey(Integer id) throws Exception;

    int insert(Comment record)throws Exception;

    Comment selectByPrimaryKey(Integer id)throws Exception;

    List<Comment> selectAll()throws Exception;

    int updateByPrimaryKey(Comment record)throws Exception;
    
    List<Comment> selectByNid(Integer nid)throws Exception;
}
